//go:build ignore

package main

import "fmt"

func main() {
	fmt.Println(v1, v2, v3, p)
}

var (
	v1 = Vertex{1, 3}
	// Y被赋予默认值0
	v2 = Vertex{X: 2}
	// X,Y均取默认值
	v3 = Vertex{}
	p  = &Vertex{1, 3}
)

type Vertex struct {
	X, Y int
}
